/* Settings and Dashboard */


/* Settings page */

/* Settings page common UI components */

/* Settings. Common styles to control size/positions */
.fm-right-account-block div.full-sized {
    flex: initial;
    width: 100%;
}
.fm-right-account-block div.align-top {
    align-items: flex-start;
}
.fm-right-account-block div.justify-end {
    justify-content: flex-end;
}

/* Settings. Common styles. Text colors */
.fm-account-main .green-label {
    background-color: initial;
    color: var(--text-color-success);
}
.fm-account-main .red-label {
    background-color: initial;
    color: var(--text-color-error);
}

/* Settings. Common styles. Tables */
.fm-right-account-block .data-table {
    margin-bottom: 24px;
}
.fm-right-account-block .data-table .label-with-icon {
    align-items: center;
    display: flex;
}
.fm-right-account-block .data-table .label-with-icon img {
    margin-inline-end: 8px;
    width: 16px;
}
.fm-right-account-block .data-table .label-with-icon i {
    --icon-size: 16px;
    margin-inline-end: 8px;
}
.fm-right-account-block .data-table span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fm-right-account-block .data-table.sessions .mega-button span {
    white-space: nowrap;
}
.fm-right-account-block .data-table span.break-word {
    word-break: break-word;
}

/* Settings. Common styles. Inputs/ Selectboxes */
.fm-right-account-block form {
    align-content: flex-start;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: -20px;
    width: 100%;
}
.fm-right-account-block .mega-input.title-ontop {
    width: calc(50% - 16px);
}
.fm-right-account-block .mega-input + .mega-input.title-ontop:nth-child(2) {
    margin: 20px 0 0;
}
.fm-right-account-block .mega-input.title-ontop input.short-input {
    padding: 2px 0;
    margin-inline-start: 8px;
}

/* Label with different sub elements: icons, buttons, inputs */
.fm-right-account-block .label-wrap {
    align-items: center;
    display: flex;
    flex: 1;
    padding-inline-end: 15px;
}
.fm-right-account-block .label-wrap.full-sized,
.fm-right-account-block .label-wrap:last-child {
    padding-inline-end: 0;
}
.fm-right-account-block .label-wrap.full-sized + .label-wrap {
    padding: 14px 0 0;
}
.fm-right-account-block .label-wrap i {
    --icon-size: 24px;
    --mask-color: var(--icon-rest);
    margin: 2px 4px;
    transition: var(--transition-opacity);
}

/* Small grey input usually used directly in labels */
.account-counter-number {
    align-content: center;
    background: var(--surface-grey-2);
    border-radius: 4px;
    display: flex;
    margin: 0 12px 0;
    width: 60px;
}
.account-counter-number:last-child {
    margin-inline-end: 0;
}
.account-counter-number.short {
    width: 38px;
}
.account-counter-number input {
    background: transparent;
    border: 0;
    box-sizing: border-box;
    color: var(--text-color-high);
    font: var(--text-body1);
    line-height: 36px;
    margin: 0;
    outline: none;
    padding: 0 10px;
    text-align: center;
    width: 100%;
}
.account-counter-number.short input {
    padding: 0 3px;
}

/* Settings. Common styles. Toggle buttons */
.fm-account-sections .mega-switch {
    float: none;
}
.fm-account-sections .switch-container {
    border-top: 1px solid var(--stroke-grey-2);
    padding: 24px 0 0 0;
}
.fm-account-sections .mega-switch + .label-wrap {
    padding: 12px 0 0 0;
}

/* Settings. Common styles. Radio buttons */
.settings-sub-section .radio-buttons {
    display: flex;
    flex-wrap: wrap;
    padding: 18px 0 0;
    width: 100%;
}
.user-interface .settings-sub-section .radio-buttons {
    flex-direction: column;
}
.settings-sub-section .radio-txt {
    color: var(--text-color-medium);
    cursor: pointer;
    font: var(--text-body1);
    padding-inline-end: 0;
    transition: 0.3s;
    vertical-align: top;
}
.settings-sub-section .radio-txt:last-child {
    padding-inline-end: 0;
}
.settings-sub-section .radio-txt.big {
    font: var(--text-h3);
}
.settings-sub-section .radio-txt.small {
    font: var(--text-body1);
}


/* Settings page content wrappers */

/* Settings. Content. Main content wrappers */
.fm-account-sections {
    box-sizing: border-box;
    color: var(--text-color-medium);
    font: var(--text-h3);
    position: relative;
    margin: 0 auto;
    max-width: 988px;
    padding: 0 24px 40px;
}

/* Settings. Content. Left column */
.settings-left-block {
    padding: 14px 0;
    width: 30%;
}
.settings-left-block .title-txt {
    padding: 18px 0;
}
.settings-left-block .content-txt:last-child {
    padding-bottom: 18px;
}

/* Settings. Content. Right column */
.settings-right-block {
    box-sizing: border-box;
    padding: 14px 0;
    padding-inline-start: 56px;
    width: 70%;
}
.settings-right-block .content-txt {
    padding-top: 18px;
    width: 100%;
}

/* Settings. Content. Full sized column */
.settings-full-block {
    padding: 10px 0;
    width: 100%;
}

/* Settings. Content. Subsections */
.account.data-block {
    display: flex;
    flex-wrap: wrap;
    position: relative;
}
.account.data-block + .data-block:not(.hidden) {
    border-top: 1px solid  var(--stroke-grey-2);
}
.account.data-block.account-type .settings-right-block {
    display: flex;
    flex-direction: column;
    padding: 0;
}
.account.data-block.account-type .settings-right-block > div {
    background: var(--mobile-surface-1);
    border-radius: 12px;
    padding: 0 24px;
    margin: 35px 0;
}
.account.data-block.account-type .settings-right-block .feature-details {
    order: -1;
}
.account.data-block.account-type .settings-right-block .extra-sub.paid {
    order: -2;
}
.account.data-block.account-type .settings-right-block .plan-details.paid {
    order: -3;
}
.settings-sub-section {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 24px 0;
    position: relative;
}
.settings-sub-section.full-width {
    width: 100%;
}
.settings-sub-section:not(.hidden) ~ .settings-sub-section {
    border-top: 1px solid;
}
.theme-light .settings-sub-section:not(.hidden) {
    border-color: var(--stroke-grey-2);
}
.theme-dark .settings-sub-section:not(.hidden) {
    border-color: var(--stroke-mid-grey);
}

.settings-sub-section.sub-container:not(.hidden) {
    border: 0;
    padding-top: 0;
    max-height: 100px;
}
.settings-sub-section .subtitle-txt,
.settings-sub-section .switch-label {
    max-width: calc(100% - 48px);
}
.settings-sub-section.closed {
    padding: 0;
}
.settings-sub-section button + button {
    margin-inline-start: 8px;
}
.settings-sub-section .new-tag {
    margin-left: 8px;
    background: var(--surface-dark-grey);
    border-radius: 12px;
    color: var(--stroke-main);
    display: inline-flex;
    font: var(--text-body1);
    padding: 1px 8px;
}


/* Settings content */

/* Settings left navigation pane */
.content-panel .settings-button {
    cursor: pointer;
    font: var(--text-body1);
    position: relative;
    margin: 0 0 4px;
}
.content-panel .settings-button .head-title,
.content-panel .settings-button .sub-title {
    --mask-color: var(--icon-rest);
    align-items: center;
    border-radius: 4px;
    box-sizing: border-box;
    color: var(--text-color-medium);
    display: flex;
    min-height: 32px;
    padding: 2px 4px;
    transition: var(--transition-color), var(--transition-bg-color);
}
.content-panel .settings-button .head-title {
    margin: 2px 0;
}
.content-panel .settings-button .sub-title {
    margin: 1px 0;
}
.content-panel .settings-button .head-title:hover,
.content-panel .settings-button .sub-title:hover,
.content-panel .settings-button.active .head-title {
    --mask-color: var(--icon-rest);
    cursor: pointer;
    color: var(--text-color-high);
    background-color: var(--stroke-grey-1);
    box-shadow: 0 1px 4px 0 rgb(0 0 0 / 0.1);
}
/* Temporarily hide settings sub title in left panel until fixed in MEGA Lite mode */
.mega-lite-mode .content-panel .settings-button .sub-title[data-scrollto="file-version"] {
    display: none;
}
.content-panel .settings-button .head-title i {
    --icon-size: 24px;
    transition: var(--transition-color);
}
.content-panel .settings-button .head-title i.expand {
    --icon-size: 16px;
    transform: rotate(90deg);
}
.content-panel .settings-button .head-title span {
    padding: 0 4px;
}
.content-panel .settings-button .sub-menu {
    box-sizing: border-box;
    max-height: 250px;
}
.content-panel .settings-button .sub-title {
    color: var(--text-color-medium);
    font: var(--text-body1);
    padding-inline-start: 50px;
}
.content-panel .settings-button .head-title:hover {
    color: var(--text-color-high);
}
.content-panel .settings-button.active .head-title {
    --mask-color: var(--icon-active);
    color: var(--text-color-high);
}
.content-panel .settings-button.closed .head-title i.expand {
    transform: rotate(0);
}
.rtl .content-panel .settings-button.closed .head-title i.expand {
    transform: rotate(180deg);
}


/* Settings content. Account section */

/* Settings content. Account section. QR */
.settings-left-block .account.qr-block {
    margin: 0 0 18px;
    max-height: 126px;
}
.settings-left-block .account.qr-icon canvas {
    padding: 10px;
    background-color: var(--secondary-white);
    border-radius: 10px;
}

/* Settings content. Account section. Avatar  */
.fm-right-account-block .fm-account-avatar {
    cursor: default;
    border-radius: 0;
    flex: 1;
    height: auto;
    margin: 0 32px;
    overflow: visible;
    width: auto;
}
.fm-right-account-block .avatar-wrapper {
    cursor: pointer;
    border-radius: 100%;
    width: 64px;
    height: 64px;
    margin: 0 auto;
    padding: 0;
    font-size: 24px;
    line-height: 64px;
    font-family: var(--text-font-family);
}
.fm-right-account-block .avatar-wrapper img {
    background-color: var(--text-color-white-higher);
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    height: 64px;
    padding: 1px;
    width: 64px;
}
.fm-right-account-block .avatar-bg.colorized::after {
    background: none;
}

/* Settings content. Account section. Birth inputs */
.mega-input.title-ontop.birth input::placeholder {
    opacity: 1;
}
.fm-right-account-block .birth-arrow-container {
    display: inline-block;
    cursor: pointer;
    height: 32px;
    position: relative;
    margin-inline-end: 3px;
    width: 16px;
}
.fm-right-account-block .birth-arrow-container i {
    --icon-size: 16px;
    --mask-color: var(--icon-inactive);
    border-radius: 0;
    display: block;
    float: none;
    padding: 0;
    transform: rotate(90deg);
    transition: var(--transition-color);
}
.fm-right-account-block .birth-arrow-container .up-control {
    transform: rotate(270deg);
}
.fm-right-account-block .birth-arrow-container i:hover {
    --mask-color: var(--icon-rest);
}


/* Settings content. Plan section */
.account.plan-info {
    color: var(--text-color-high);
    font: var(--text-body1);
    display: flex;
    flex-direction: column;
}

.settings-sub-section.pro-extras .account.plan-info > *:not(:last-child) {
    margin-bottom: 8px;
}

/* Settings content. Free trial */
.account.plan-info .free-trial {
    color: var(--text-color-error);
    border: 1px solid var(--secondary-red);
    border-radius: 3px;
    padding: 2px 8px;
    margin-inline-start: 12px;
}

/* Settings content. Plan section. Achievement Storage/Badwidth bars */
.fm-right-account-block .bars-container {
    --settings-bar-color: var(--label-blue);
    display: flex;
    justify-content: flex-end;
    width: 100%;
}
.fm-right-account-block .bars-container.bandwidth {
    --settings-bar-color: var(--label-green);
}
.fm-right-account-block .bars-content {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: space-between;
    min-width: 334px;
}
.fm-right-account-block .settings-bar {
    background: var(--settings-bar-color);
    border-radius: 4px;
    display: flex;
    height: 8px;
    justify-content: flex-end;
    overflow: hidden;
    margin: 8px 0 0;
    width: 100%;
}
.fm-right-account-block .settings-sub-bar {
    background: var(--surface-black);
    height: 100%;
    opacity: 0.2;
    width: 0;
}
.fm-right-account-block .quota-note {
    align-items: center;
    color: var(--text-color-low);
    display: inline-flex;
    font: var(--text-body2);
    margin: 5px 0 0;
}
.fm-right-account-block .quota-note + .quota-note {
    margin-inline-start: 15px;
}
.fm-right-account-block .quota-note i {
    background-color: var(--settings-bar-color);
    content: '';
    height: 8px;
    border-radius: 100%;
    display: inline-block;
    margin-inline-end: 8px;
    width: 8px;
}
.fm-right-account-block .achieve-quota-note i::before {
    content: '';
    background: var(--surface-black);
    border-radius: 100%;
    display: block;
    height: 100%;
    opacity: 0.2;
}

/* Settings content. Plan section. Purchases table */
.fm-right-account-block .data-table.purchases .label-with-icon {
    color: var(--text-color-high);
}


/* Settings content. Notifications section. */
.account.account-notification .chat-permissions-banner {
    margin: 0 0 20px;
}
.account.account-notification .chat-permissions-banner.permission--default i {
    display: none;
}
.account.account-notification .chat-permissions-banner.permission--default a,
.account.account-notification .chat-permissions-banner.permission--default a:visited {
    color: var(--secondary-blue);
    text-decoration: underline;
}
.account.account-notification .chat-permissions-banner.permission--granted {
    padding: 0;
    background: transparent;
    box-shadow: none;
}
.account.account-notification .chat-permissions-banner.permission--granted .cell {
    color: var(--text-color-medium);
    border: 0 none;
}
.account.account-notification .chat-permissions-banner.permission--granted i {
    display: none;
}
.account.account-notification .chat-permissions-banner.permission--granted a,
.account.account-notification .chat-permissions-banner.permission--granted a:visited {
    color: var(--secondary-blue);
}
.account.account-notification .chat-permissions-banner.permission--granted .versioning-body-text {
    padding-inline-start: 0;
}

/* Settings content. Security section */

/* Settings content. Security section. Download button */
.fm-account-security .download-button .bouncing-loader,
.fm-account-security .download-button.loading .loading-txt {
    display: none;
}
.fm-account-security .download-button.loading .bouncing-loader {
    display: block;
}
.fm-account-security .error-message {
    color: var(--stroke-error);
    margin-top: 18px;
}

/* Settings content. Security section. Sessions history */
.data-table.sessions th:nth-child(3) {
    width: 140px;
}
.data-table.sessions th:last-child {
    width: 20px;
}
.data-table.sessions .status-label {
    align-items: center;
    background-color: var(--label-grey);
    border-radius: 12px;
    box-sizing: border-box;
    color: var(--text-color-white-higher);
    display: inline-flex;
    font: var(--text-body1);
    margin: 1px 0;
    padding: 2px 9px;
    white-space: nowrap;
}
.data-table.sessions .status-label.green {
    background-color: var(--label-green);
}
.data-table.sessions .status-label.blue {
    background-color: var(--label-blue);
}
/*region TODO piggybacking off sessions table */
.data-table.sessions .status-label.yellow {
    background-color: var(--label-yellow);
}
.data-table.sessions .status-label.orange {
    background-color: var(--label-orange);
}
.data-table.sessions .status-label.red {
    background-color: var(--label-red);
}
/* endregion */


/* Settings content. File management section */

.fm-right-account-block .rubsched-options {
    max-height: 250px;
}


/* Settings content. Transfers section */

/* Settings content. Transfers section. Common Sliders styling */
.ui-slider.ui-widget-content {
    background: var(--surface-progress-background);
    border: 0;
    border-radius: 4px;
    box-sizing: border-box;
    direction: ltr;
    height: 8px;
    margin: 24px 0 0;
    position: relative;
}
.ui-menu.ui-widget {
    max-height: 200px;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    padding: 0;
}
.ui-slider-handle {
    background: var(--surface-grey-2);
    border-radius: 3px;
    box-shadow: 0 0 0 1px var(--switch-handle-border);
    cursor: pointer;
    display: block;
    height: 20px;
    position: absolute;
    margin: 0;
    margin-inline-start: -16px;
    top: -6px;
    width: 32px;
    z-index: 10;
}
.ui-slider-handle::before,
.ui-slider-handle::after {
    --mask-color: var(--icon-rest);
    height: 16px;
    left: 0;
    margin: 2px 0;
    position: absolute;
    width: 16px;
}
.ui-slider-handle::after {
    left: auto;
    right: 0;
}
.ui-slider .ui-slider-range {
    background: var(--surface-dark-grey);
    border-radius: 4px 4px 0;
    height: 8px;
    margin: 0;
    position: absolute;
}

/* Settings content. Transfers section. Quota/Upload/Download sliders styling */
.upload-settings .ui-slider-range {
    background: var(--secondary-blue);
}
.download-settings .ui-slider-range {
    background: var(--secondary-green);
}
.slider.numbers-wrap {
    display: flex;
    direction: ltr;
    justify-content: space-between;
}
.slider.numbers {
    color: var(--text-color-medium);
    font: var(--text-h3);
    margin: 4px 0 8px 0;
    position: relative;
    text-align: left;
    white-space: nowrap;
}
.slider.numbers span {
    position: absolute;
    top: 0;
    margin: 8px 4px 0;
}
.slider.numbers.swapped span {
    right: 0;
}
.slider.numbers small {
    font: var(--text-body1);
    color: var(--text-color-low);
}
.slider.numbers::before {
    background-color: var(--divider-color);
    content: '';
    display: block;
    height: 24px;
    top: 4px;
    width: 1px;
}
.slider.numbers.active {
    color: var(--text-color-high);
}
.slider-percentage-bl {
    align-items: center;
    display: flex;
    padding: 30px 0 0 0;
}
.slider-percentage {
    background: var(--surface-dark-grey);
    color: var(--text-color-high-inverted);
    border-radius: 4px;
    box-sizing: border-box;
    padding: 4px;
    min-width: 160px;
    text-align: center;
    font: var(--text-body1);
}
.slider-percentage span {
    font: var(--text-h3);
}
.slider-percentage span.warn {
    color: var(--secondary-orange-inverted);
}
.slider-tip {
    font: var(--text-body2);
    color: var(--text-color-medium);
    margin-inline-start: 15px;
}

/* Settings content. Transfers section. MEGAbanner Sync icon. */

/* TODO:  replace by real icon */
.fm-right-account-block .settings-sync-icon {
    background: var(--avatar-blue);
    border-radius: 100%;
    box-sizing: border-box;
    display: block;
    height: 30px;
    margin: 10px 0;
    padding: 3px;
    width: 30px;
}
.fm-right-account-block .settings-sync-icon i {
    --mask-color: var(--text-color-white-higher);
    --icon-size: 24px;
    margin: auto;
}
/* Settings content. Contacts and Chats section */

/* Settings content. Contacts and Chats section. DND */
.fm-right-account-block .push-settings-status {
    padding: 18px 0 0;
    width: 100%;
}
.fm-right-account-block .push-settings-status span {
    color: var(--secondary-green);
    padding-inline-start: 4px;
}


/* Settings content. Resellers section */
.fm-right-account-block .resellers-voucher-bl {
    align-items: center;
    display: flex;
}
.fm-right-account-block .content-txt.resellerbuy {
    padding: 0;
    width: auto;
}


/* Settings content. Object storage */

/* Settings content. Object storage. S4 specs banner */

.settings-banner.s4-specs-banner {
    width: 100%;
}

.settings-banner.s4-specs-banner .settings-banner-cell {
    padding: 16px;
}

.settings-banner.s4-specs-banner .settings-banner-cell:nth-child(2) {
    padding: 16px 0;
}

.settings-banner.s4-specs-banner i.light-icon {
    background-image: url("../images/mega/icons-3d/icon-lightbulb-3d.png");
    background-size: 100%;
    display: block;
    height: 40px;
    margin: 0 auto;
    width: 40px;
}

.settings-banner.s4-specs-banner .title-txt {
    font: var(--text-h3-bold);
    padding: 0;
}

/* Settings content. Object storage. Common styling */

.fm-right-account-block .settings-body-txt {
    color: var(--text-color-high);
    font: var(--text-body1);
}

.fm-right-account-block .settings-body-txt.bold {
    font: var(--text-body1-bold);
}

.fm-right-account-block a.settings-lnk {
    color: var(--stroke-info);
    text-decoration: underline;
}

.fm-right-account-block .secondary-table {
    border: 1px solid var(--surface-mid-grey);
    width: 100%;
}

.fm-right-account-block .secondary-table th,
.fm-right-account-block .secondary-table td {
    color: var(--text-color-high);
    font: var(--text-body1-bold);
    padding: 12px 16px;
    text-align: start;
}

.fm-right-account-block .secondary-table td {
    color: var(--text-color-high);
    border-top: 1px solid var(--stroke-mid-grey);
    font: var(--text-body1);
}

/* Settings content. Object storage. Custom styling */

.fm-account-sections.fm-account-s4 .secondary-table {
    margin: 16px 0 24px;
}

.fm-account-sections.fm-account-s4 .secondary-table td:last-child {
    text-align: end;
}

.fm-account-sections.fm-account-s4 .secondary-table .mega-button {
    --icon-size: 24px;
     --mask-color: var(--icon-rest);
    padding: 0;
    margin: 0;
}

.fm-account-sections.fm-account-s4 ul {
    color: var(--text-color-high);
    font: var(--text-body1);
    padding: 16px 0;
    margin: 0;
}

.fm-account-sections.fm-account-s4 li {
    padding: 0 0 8px;
    margin-inline-start: 21px;
}

.fm-account-sections.fm-account-s4 span.code {
    background-color: var(--stroke-grey-3);
    border: 1px solid var(--stroke-grey-2);
    border-radius: 4px;
    display: inline-block;
    padding: 0 4px;
}

/* Settings top banners */

/* Add phone Settings page banner */
.add-phone-num-banner .account.verify-icon {
    width: 100px;
    height: 100px;
    display: inline-block;
    border-radius: 100%;
    overflow: hidden;
    background: var(--secondary-blue);
    vertical-align: middle;
}
.add-phone-num-banner .account.verify-icon i {
    height: 84px;
    margin: 16px auto 0;
    width: 84px;
    --width: 84px;
}
.add-phone-num-banner .mega-button + .mega-button {
    display: flex;
    margin: 12px auto 0;
}

/* Settings/dashboard page quota banner */

.quota-banner {
    justify-content: space-between;
    max-width: 940px;
}
.quota-banner .settings-banner-cell:nth-child(n) {
    flex: initial;
    text-align: center;
    width: auto;
}

/* Settings quota banner - low width */
.low-width .quota-banner .settings-banner-cell:nth-child(n) {
    width: 50%;
}
.low-width .quota-banner .settings-banner-cell:last-child {
    padding-top: 0;
    width: 100%;
}

/* Settings quota banner content */
.quota-banner .fm-account-blocks {
    display: inline-block;
    text-align: start;
}
.quota-banner .account.chart-block {
    padding: 0;
    white-space: nowrap;
}
.quota-banner .tiny-chart .chart.icon {
    left: 22px;
    top: 16px;
}
.fm-right-account-block .icon.chart {
    width: 32px;
    height: 32px;
    opacity: 1;
}
.quota-banner .account.chart.overlay {
    background-color: transparent;
}
.quota-banner .account.chart.body::after {
    background: var(--mobile-surface-1);
}
.quota-banner .chart.body .perc-txt {
    font: var(--text-body1);
    color: var(--text-color-high);
    display: block;
    height: auto;
    position: absolute;
    z-index: 11;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}
.quota-banner .going-out .tiny-chart .chart.data .size-txt {
    color: var(--text-color-warning);
}
.quota-banner .exceeded .tiny-chart .chart.data .size-txt {
    color: var(--text-color-error);
}
.quota-banner .chart.progressbars span::before {
    background: var(--stroke-dark-grey);
}
.quota-banner .fm-account-blocks:not(.no-percs) .chart.progressbars span::after {
    content: '';
    background: var(--stroke-dark-grey);
    width: 6px;
    height: 6px;
    position: absolute;
    z-index: 12;
    bottom: 0;
    left: calc(50% - 3px);
    border-radius: 5px;
}
.quota-banner .going-out .chart.progressbars span::before {
    background: var(--stroke-warning);
}
.quota-banner .fm-account-blocks:not(.no-percs).going-out .chart.progressbars span::after {
    background: var(--stroke-warning);
}
.quota-banner .exceeded .chart.progressbars span::before,
.quota-banner .fm-account-blocks:not(.no-percs).exceeded .chart.progressbars span::after {
    background: var(--stroke-error);
}
.quota-banner .fm-account-blocks:not(.no-percs).exceeded .chart.progressbars span::after {
    display: none;
}

/* Small rounded chart */
.tiny-chart .account.chart.body {
    width: 64px;
    height: 64px;
    transform: none;
    display: inline-block;
    float: none;
    vertical-align: middle;
}
.tiny-chart .account.chart.overlay {
    width: 68px;
    height: 68px;
    margin: 15px 0 0 40px;
}
.tiny-chart .account.chart.overlay span {
    top: 53px;
    left: -3px;
}
.tiny-chart .account.chart.overlay span:first-child {
    top: -6px;
    left: 22px;
    -o-transform: rotate(48deg);
    -ms-transform: rotate(48deg); /* IE 9 */
    -webkit-transform: rotate(48deg); /* Safari */
    transform: rotate(48deg);
}
.tiny-chart .chart.progressbars .right-chart {
    clip: rect(0, 64px, 64px, 32px);
}
.tiny-chart .chart.progressbars .right-chart.low-percent-clip {
    clip: rect(0, 32px, 64px, 0);
}
.tiny-chart .chart.progressbars .left-chart.low-percent-clip {
    clip: rect(0, 64px, 64px, 32px);
}
.tiny-chart .account.chart.body::after {
    width: 52px;
    height: 52px;
    margin: 6px;
}
.tiny-chart .chart.icon {
    left: 22px;
    top: 35px;
}
.tiny-chart .chart-warning {
    display: none;
    font-size: 12px;
}
.exceeded .tiny-chart .chart-warning,
.going-out .tiny-chart .chart-warning {
    display: block;
}
.going-out .chart-warning a {
    color: #333333;
}
.tiny-chart .fm-account-header {
    color: var(--text-color-high);
    font: var(--text-body1-bold);
    margin: 0 0 8px 0;
}
.tiny-chart .chart.data .size-txt {
    font: var(--text-h3);
    display: inline-block;
    vertical-align: bottom;
    color: var(--text-color-success);
}
.tiny-chart .chart.data .pecents-txt,
.tiny-chart .chart.data .gb-txt,
.tiny-chart .chart.data .of-txt {
    font: var(--text-body1);
    display: inline-block;
    padding-bottom: 1px;
    vertical-align: bottom;
}
.tiny-chart .chart.data .of-txt {
    color: var(--text-color-low);
    padding: 0 4px 1px;
}
.tiny-chart .account.chart.data {
    margin: 6px 0 0 84px;
    display: inline-block;
    margin-inline-start: 16px;
    vertical-align: middle;
    white-space: normal;
}

/* Settings page low width */
.fm-account-main.low-width .settings-left-block {
    padding: 14px 0 0;
    width: 100%;
}
.fm-account-main.low-width .settings-right-block {
    padding: 0 0 14px;
    width: 100%;
}


/* Dashboard */

/* Dashboard left pane */
.account.user-data-block {
    position: relative;
    padding: 60px 20px 16px 20px;
    text-align: center;
    font-size: 0;
    line-height: 0;
}
.dashboard .account.user-data-block {
    padding: 24px 12px;
}
.content-panel button.backup-master-key {
    margin: 12px 0 0 0;
}
.account.left-pane.info-block {
    padding: 24px;
    text-align: center;
}
.account.left-pane.info-block.backup-button {
    padding: 24px 12px;
}
.account.left-pane.info-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.small-left-panel .account.left-pane.info-item {
    flex-direction: column;
}
.small-left-panel .account.left-pane.small-txt {
    margin: 20px 0 8px;
}
.small-left-panel .account.left-pane.big-txt {
    margin: 0;
    margin-bottom: 12px;
}
.account.left-pane.info-block.business-users {
    padding: 0;
}
.account.left-pane.divider {
    height: 2px;
    background: var(--surface-main);
}
.account.account-card-info .mega-data-header {
    height: 68px;
}
.account.account-card-info .card-info.payment-card {
    margin-bottom: 24px;
}
.account.account-card-info .payment-card-icon {
    display: inline-block;
}
.account.account-card-info.visa .payment-card-icon i {
    background-image: url("../images/mega/icon-visa.svg");
    background-size: 100%;
    width: 46px;
    height: 45px;
    margin-top: 17px;
}
.account.account-card-info .payment-card-icon i {
    margin-top: 14px;
    --icon-size: 48px;
    margin-left: 24px;
}
.account.account-card-info:not(.mc):not(.visa) .payment-card-icon i {
    background-image: url("../images/mega/icon-payment-outline.svg");
    background-size: 100%;
    width: 46px;
    height: 45px;
    margin-top: 17px;
}
.account.account-card-info .payment-card-top {
    width: 364px;
    border-radius: 8px 8px 0 0;
    height: 171px;
    background-color: #00BFA5;
    background-image: url("../images/mega/Surface-card-green.png");
    direction: ltr;
}
.account.account-card-info .payment-card-bottom {
    width: 364px;
    border-radius: 0 0 8px 8px;
    height: 61px;
    background-color: #03A892;
    direction: ltr;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.account.account-card-info.visa .payment-card-top {
    background-color: #4BB8F3;
    background-image: url("../images/mega/Surface-card-blue.png");
}
.account.account-card-info.mc .payment-card-top {
    background-color: #F3A03F;
    background-image: url("../images/mega/Surface-card-orange.png");
}
.account.account-card-info.visa .payment-card-bottom {
    background-color: #23A1E5;
}
.account.account-card-info.mc .payment-card-bottom {
    background-color: #E58D27;
}
.account.account-card-info .payment-card-nb {
    height: 34px;
    margin: 14px 37px 6px 26px;
    display: flex;
    align-content: center;
}
.account.account-card-info .payment-card-expiry {
    height: 20px;
    margin-left: 26px;
}
.account.account-card-info .payment-card-dots {
    display: inline-block;
    width: 62px;
    color: var(--text-color-white-higher);
    font-size: 12px;
    margin-right: 15px;
    margin-top: 6px;
    letter-spacing: 1px;
}
.account.account-card-info .payment-card-digits {
    font: var(--text-h1);
    color: var(--text-color-white-higher);
    font-family: var(--text-font-family);
    font-weight: bold;
}
.account.account-card-info .payment-card-expiry-lbl {
    display: inline-block;
    color: var(--text-color-white-higher);
    font: var(--text-body1);
}
.account.account-card-info .payment-card-expiry-val {
    display: inline-block;
    color: var(--text-color-white-higher);
    font: var(--text-body1);
    margin-left: 1px;
}
.account.account-card-info .payment-card-edit,
.account.account-card-info .payment-card-delete {
    display: inline-block;
    color: var(--text-color-white-higher);
    font: var(--text-body1);
    margin: 0 26px;
    text-decoration: underline;
    padding: 15px 0;
}

/* Contacts & Chats > Chat Settings */
.chat-settings .show-hide-wrap {
    display: flex;
    width: 100%;
}
.chat-settings .chat-show-wrapper {
    padding: 16px 0 0;
    padding-inline-end: 16px;
    width: 100%;
}
.chat-settings .chat-hide-wrapper {
    padding: 16px 0 0;
    width: 100%;
}
.chat-settings .account-chat-avatar {
    border-radius: 2px;
    width: 32px;
    height: 32px;
    font-size: 14px;
    text-align: center;
    box-sizing: border-box;
    line-height: 32px;
    font-family: var(--text-body1);
    font-style: normal;
    font-weight: 400;
    color: #FFF;
    display: inline;
}
.chat-settings .chat-row {
    display: flex;
    align-items: center;
    padding: 8px;
    gap: 8px;
    height: 40px;
}
.chat-settings .chat-txt {
    font: var(--text-body2);
    font-size: 12px;
    color: var(--text-color-medium);
}
.chat-settings .checked.chat-selected {
    display: inline;
    position: absolute;
    top: 5px;
    right: 5px;
    color: #00BFA5;
    width: 16px;
    height: 16px;
}
.rtl .chat-settings .checked.chat-selected {
    left: 5px;
    right: unset;
}
.chat-settings .chat-selected {
    display: none;
}
#migration-table-container .content-txt {
    margin-bottom: 16px;
}
#migration-table-container .actions-cell {
    width: 84px;
    text-align: end;
}
#migration-table-container .actions-cell .mega-button {
    margin-inline-start: 2px;
    margin-inline-end: 0;
    display: inline-block;
    visibility: hidden;
}
#migration-table-container tr:hover .actions-cell .mega-button {
    visibility: visible;
}
